﻿using System.Data;
using DAL;
using ET;

namespace BLL
{
    public class Department_BLL
    {
        public static Department_DAL cls = new Department_DAL();
        #region Getdata
        public DataTable BindGirdtb_Department(string keywords)
        {
            return cls.BindGirdtb_Department(keywords);
        }
        public DataTable GetDataEdit(int id)
        {
            return cls.GetDataEdit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Inserttb_Department(Department_ET obj)
        {
            return cls.Inserttb_Department(obj);
        }
        public static bool Updatetb_Department(Department_ET obj)
        {
            return cls.Updatetb_Department(obj);
        }
        public static bool Deletetb_Department(int id)
        {
            return cls.Deletetb_Department(id);
        }
        #endregion
    }
}
